On the Cost of Lock Inheritance in Lock Managers Supporting Nested Transactions
نویسندگان
چکیده
The exibility of nested transactions is generally provided at the expense of a more complex locking mechanism which must deal with expensive lock inheritance. In this paper, we give a solution for eecient lock inheritance. Our solution does not change the original nested transactions model but does revisit its locking rules using set-oriented semantics. This allows us to trade the cost of lock propagation at sub-transaction commit for a potentially more complex connict detection. Then we propose an eecient lock implementation which maintains the overhead of lock requests comparable to the traditional overhead in at transactions. We conducted a number of comparative measurements in order to evaluate our trade-oo. Our benchmarks show a cut oo from 7% to 60% of the global time spent in lock operations, which includes lock requests, locks inheritance and release of locks.
منابع مشابه
Lock Inheritance in Nested
The exibility of nested transactions is generally provided at the expenses of a more complex locking mechanism which must deal with expensive lock inheritance. In this paper, we give a solution for eecient lock inheritance. Our solution does not change the original nested transaction model but does revisit its locking rules using set-oriented semantics. This allows us to trade the cost of lock ...
متن کاملConcurrency Control in Nested Transactions with Enhanced Lock Models for KBMSs
Nested transactions (NTs) allow the decomposition of execution units and finer grained control over concurrency and recovery than conventional, flat transactions. Due to their characteristics, they provide adequate control structures for modeling transactions in several different environments. In this paper, we concentrate on the use of NTs in Knowledge Base Management Systems (KBMSs). With res...
متن کاملThe Lock-in Phenomenon in VIV using A Modified Wake Oscillator Model for both High and Low Mass-Damping Ratio
In the present paper the behavior of an elastically mounted cylinder in low and high mass-damping ratio is investigated. For high mass-damping ratio, a classical wake oscillator model is used. At the first, by neglecting all damping and nonlinear terms of this model, the possibility of using a linear model for determination of the lock-in range and the dominant mode is investigated. Then, w...
متن کاملIs Taurolidine-citrate an effective and cost-effective hemodialysis cathe-ter lock solution? A systematic review and cost- effectiveness analysis
Background: Prevention of catheter-related infection is of prime importance,. However, because of the risks caused by the leakage of circulating antibiotics and development of resistance to antibiotics, they are replaced by lock solutions. The aim of this study was to evaluate the efficacy and cost- effectiveness of taurolidine-citrate as a hemodialysis catheter lock solution compared to other ...
متن کاملImproving OLTP Scalability using Speculative Lock Inheritance
Transaction processing workloads provide ample request level concurrency which highly parallel architectures can exploit. However, the resulting heavy utilization of core database services also causes resource contention within the database engine itself and limits scalability. Meanwhile, many database workloads consist of short transactions which access only a few database records each, often ...
متن کامل